﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DLV.Library.Utilities;

namespace DLV.Data.Entities
{
    public class GiftsInfo
    {
        #region ***** Fields & Properties ***** 

        private int _giftsId = Null.NullInteger;

        public int GiftsId
        {
            get { return _giftsId; }
            set { _giftsId = value; }
        }

        private string _giftsCode = String.Empty;

        public string GiftsCode
        {
            get { return _giftsCode; }
            set { _giftsCode = value; }
        }

        private string _giftsName = String.Empty;

        public string GiftsName
        {
            get { return _giftsName; }
            set { _giftsName = value; }
        }

        private int _giftsTypeId = Null.NullInteger;

        public int GiftsTypeId
        {
            get { return _giftsTypeId; }
            set { _giftsTypeId = value; }
        }

        private decimal _giftsPriceAdult = Null.NullDecimal;

        public decimal GiftsPriceAdult
        {
            get { return _giftsPriceAdult; }
            set { _giftsPriceAdult = value; }
        }

        private decimal _giftsPriceChild = Null.NullDecimal;

        public decimal GiftsPriceChild
        {
            get { return _giftsPriceChild; }
            set { _giftsPriceChild = value; }
        }

        private decimal _giftsPriceBaby = Null.NullDecimal;

        public decimal GiftsPriceBaby
        {
            get { return _giftsPriceBaby; }
            set { _giftsPriceBaby = value; }
        }

        private int _quantityAdult = Null.NullInteger;

        public int QuantityAdult
        {
            get { return _quantityAdult; }
            set { _quantityAdult = value; }
        }

        private int _quantityChild = Null.NullInteger;

        public int QuantityChild
        {
            get { return _quantityChild; }
            set { _quantityChild = value; }
        }

        private int _quantityBaby = Null.NullInteger;

        public int QuantityBaby
        {
            get { return _quantityBaby; }
            set { _quantityBaby = value; }
        }

        private int _createdBy = Null.NullInteger;

        public int CreatedBy
        {
            get { return _createdBy; }
            set { _createdBy = value; }
        }

        private DateTime _createdDate = Null.NullDate;

        public DateTime CreatedDate
        {
            get { return _createdDate; }
            set { _createdDate = value; }
        }

        private int _updatedBy = Null.NullInteger;

        public int UpdatedBy
        {
            get { return _updatedBy; }
            set { _updatedBy = value; }
        }

        private DateTime _updatedDate = Null.NullDate;

        public DateTime UpdatedDate
        {
            get { return _updatedDate; }
            set { _updatedDate = value; }
        }

        #endregion

        #region ***** Init Methods ***** 

        public GiftsInfo()
        {
        }

        public GiftsInfo(int giftsid)
        {
            this.GiftsId = giftsid;
        }

        public GiftsInfo(int giftsid, string giftscode, string giftsname, int giftstypeid, decimal giftspriceadult,
            decimal giftspricechild, decimal giftspricebaby, int quantityadult, int quantitychild, int quantitybaby,
            int createdby, DateTime createddate, string recognitionby, DateTime recognitiondate)
        {
            this.GiftsId = giftsid;
            this.GiftsCode = giftscode;
            this.GiftsName = giftsname;
            this.GiftsTypeId = giftstypeid;
            this.GiftsPriceAdult = giftspriceadult;
            this.GiftsPriceChild = giftspricechild;
            this.GiftsPriceBaby = giftspricebaby;
            this.QuantityAdult = quantityadult;
            this.QuantityChild = quantitychild;
            this.QuantityBaby = quantitybaby;
            this.CreatedBy = createdby;
            this.CreatedDate = createddate;
            this.UpdatedBy = UpdatedBy;
            this.UpdatedDate = UpdatedDate;
        }
        public string GiftsTypeName { get; set; }
        #endregion
    }
}